<% content_for :body_content_title do %>
  Catalogue - <%= @page_title %>
<% end %>

<% content_for :body_content_left do %>
  	

    <% if @products.blank? %>
		<p><i>Sorry, we can't find any products. Either we're out of stock, or there are no products belonging to the category that you selected.</i></p>
	<% else %>
			
			<%= content_tag('p', raw(@category.description)) if @category.present? %>

			<% @products.each do |product| %>
				<div class="pod quarter product omega">
					<div class="corner"><img src="/images/corner.png" /></div>
					<%= link_to(image_fu(product.image, "200x200#c", :id => "variant_id"), product_path(product)) %>
					<hr>
					<div class="productname"><%= raw product.name %></div>	
					<p><i><%= raw product.description %></i></p>
					<div class="add_to_cart">
						
							<p><%= link_to "Details", product_path(product) %></p>
						
					</div>					
				</div>
		    <% end %>
		
	<% end %>
<% end %>

<%= render :partial => "/shared/content_page" %>

